﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Util.DbHelpers
{
    public class PagerInfo
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int CurrentPageIndex
        {
            get;
            set;
        }
        /// <summary>
        /// 查询记录索引
        /// </summary>
        public int StartIndex
        {
            get;
            set;
        }
        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize
        {
            get;
            set;
        }

        /// <summary>
        /// 总记录数
        /// (在查询记录后传出)
        /// </summary>
        public int RecordCount
        {
            get;
            set;
        }

        public string OrderColumn
        {
            get;
            set;
        }

        public string OrderDir
        {
            get;
            set;
        }
    }
}
